package com.easybuilder.blog.service;

import com.easybuilder.blog.dto.BlogCommentDTO;
import com.easybuilder.blog.entity.BlogComment;

import java.util.List;

public interface CommentService {

    /** 发表文章评论
     * @param articleComment*/
    BlogComment articleComment(BlogComment articleComment);

    /** 根据文章id获取评论列表
     * @return*/
    List<BlogCommentDTO> getCommentByArticle(Integer worksType, Long articleId);

    List<Integer> countComment();

}
